/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.put.netbeans.dcs_modeler.palette;

import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
import org.openide.util.lookup.Lookups;

/**
 *
 * @author rudy
 */
public class WorkflowElementNode extends AbstractNode 
{

    private WorkflowElement shape;
    
    /** Creates a new instance of InstrumentNode */
    public WorkflowElementNode( WorkflowElement key ) 
    {
        super(Children.LEAF, Lookups.fixed( new Object[] {key} ) );
        this.shape = key;
        setIconBaseWithExtension(key.getImage());
    }

}
